package com.driver.system.feign;

import com.driver.system.controller.form.SearchDriverBriefInfoForm;
import com.driver.system.controller.form.SearchDriverOpenIdForm;
import com.driver.system.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author 14375
 */
@FeignClient(value = "driver")
public interface DrServiceApi {

    @PostMapping("/driver/searchDriverBriefInfo")
    R searchDriverBriefInfo(SearchDriverBriefInfoForm form);

    @PostMapping("/driver/searchDriverOpenId")
    R searchDriverOpenId(SearchDriverOpenIdForm form);
}
